package com.res.common.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.SessionAttributes;

import com.res.system.properties.PropertyManager;

@Controller
@SessionAttributes
public class WelcomePageController extends BaseController {

	@Autowired
	private PropertyManager propertyManager;
	
	@RequestMapping("/welcome")
	public String home() {

        propertyManager.load();

		return "welcomelayout";
	}
	
}
